screenContext

Positions a Popup dimension based on screen dimension context

The position will be bound to the screen dimensions automatically (the popup won't overflow "off-screen")

Return

BiFunction - the positioner function to apply to positionX or positionY in the Builder

Author

fzzyhmstrs

Since

0.2.0

Parameters

f

Function - function to provide the dimension. Supplies the corresponding screen size in the relevant dimension (PositionX -> screen width, etc)